package com.itheima.service;

import com.itheima.mapper1.CategoryClientMapper;
import com.itheima.pojo.Category;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author wuyiqiang
 * @2022/6/18 15:13
 */
@Service
public class CategoryClientService {
    @Autowired
    private CategoryClientMapper categoryClientMapper;

    /**
     * 分类列表查询
     * @return
     */
    public List<Category> selectAll() {
        return categoryClientMapper.selectAll();
    }

}
